<template>
  <div class="footer-btns" :style="{width:width}">
    <slot></slot>
  </div>
</template>

<script>
export default {
  components:{},
  props:{},
  data(){
    return {
      width:0
    }
  },
  watch:{},
  computed:{},
  methods:{},
  created(){
    this.width = parseInt(sessionStorage.getItem('mainWidth'))+'px';
  },
  mounted(){}
}
</script>
<style lang="scss" scoped>
.footer-btns{
  position: fixed;
  bottom: 0;
  right:20px;
  box-sizing: border-box;
  padding:10px 20px;
  background: #fff;
  box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.1);
  z-index: 1111;
}
</style>